package DB;

import java.util.HashMap;
import java.util.Map;

public class db {
	
	public String s1,s2;
	public db(String s1,String s2) {
		this.s1=s1;
		this.s2=s2;
	}
	
	public boolean Gozao() {
		Map<String, String> map = new HashMap<String,String>();
		map.put("123", "123");
		map.put("456", "456");
		map.put("789", "789");
		if(Bijiao(map,s1,s2)) {
			return true;
		}else {
			return false;
		}
	}
	public boolean Bijiao(Map<String, String> map,String s1,String s2) {
		String s=map.get(s1);
		if(s2.equals(s)) {
			return true;
		}
		else {
			return false;
		}
	}
}